package com.lianxi

/**
  * Created by adengdeng on 2017/8/7 
  */
object Lx7 {

  /*
    去掉重复值
   */
  def main(args: Array[String]): Unit = {

    val a = Array(0, 1, -2, 3, -4, 5, 0, 1, -2, 3, -4, 5, 0, 1, -2, 3, -4, 5)
    println(a.distinct.mkString(" "))
  }
}
